package cn.cpf.aop.xml;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class AopXmlTest {

    public static void main(String[] args) {
        ApplicationContext applicationContext = new ClassPathXmlApplicationContext("aop-xml.xml");
        IProxyDemoService proxyDemoService = applicationContext.getBean("proxyDemo", IProxyDemoService.class);
        proxyDemoService.testProxy1();
    }

}
